package com.company.behavioral.memento_pattern.memento;

/** 象棋棋子备忘录
 * @ClassName ChessmanMemento
 * @Author tiezheng.han
 * @Date 2020/9/4 18:13
 **/
public class ChessmanMemento {

    private String lable;
    private int x;
    private int y;

    public ChessmanMemento(String lable, int x, int y) {
        this.lable = lable;
        this.x = x;
        this.y = y;
    }

    public String getLable() {
        return lable;
    }

    public void setLable(String lable) {
        this.lable = lable;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }
}
